<div class="modal-content p-4">
  <form class="modal-body">
    <div class="input-group input-group-sm">
      <div class="input-group-prepend">
        <span class="input-group-text">设置积分</span>
      </div>
      <input class="form-control" type="text" name="score" id="attachment-score" value="10" autocomplete="off" required>
      <div class="input-group-append">
        <button class="btn btn-purple" type="button" data-url="{:DcUrl('attachment/apis/save')}" data-toggle="uploadScore" data-mime-types="application/zip" data-max-size="{$Think.config.common.upload_max_size|default='5mb'}"><i class="fa fa-upload mr-1"></i>上传</button>
        <button class="btn btn-sm btn-secondary" id="attachment-edit-close" type="button" data-dismiss="modal" style="border-top-right-radius: 3px;border-bottom-right-radius: 3px;">关闭</button>
      </div>
    </div>
  </form>
</div>